
#========================================== start =======================================
##使用jdk镜像作为基础镜像
#FROM openjdk:8-jdk-alpine
#RUN mkdir /opt/stock-task
##暴露容器端口
#EXPOSE 8082
#ARG JAR_FILE
##将jar文件复制到镜像内
#ADD target/${JAR_FILE} /opt/stock-task/stock-task.jar
##容器启动时运行的命令
#ENTRYPOINT ["java","-jar","-Xms512m","-Xmx512m","/opt/stock-task/stock-task.jar"]
#========================================== end ========================================

